<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
<title>{{$pageTitle}}-{{$site[title]}}</title>
<meta NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<meta name="Keywords" content="{{if $seokeywords}}{{$seokeywords}}{{else}}{{$site[seokeywords]}}{{/if}}" />
<meta name="Description" content="{{if $seodescription}}{{$seodescription}}{{else}}{{$site[seodescription]}}{{/if}}" />
<!--[if lt IE 9]>
	{{$this->Html->script(array('html5shiv.js','respond.min.js'))}}
<![endif]-->
{{$this->Html->meta('icon')}}

<link href="/css/bootstrap_2.css" rel="stylesheet" type="text/css" >

{{$this->Combinator->css(array('ui-customer.css','jquery.jgrowl.css','135.css'))}}
<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css" />

{{$this->Combinator->script(array('jquery/jquery.min.js','bootstrap.min.js',))}}

{{$this->Combinator->script(array(
            'jquery/jquery.cookie.js',        
            'i18n/language-zh-cn.js',
            'common.js','front.js',
            'jquery/jquery.jgrowl.min.js'
        ));
}}
<style>
#user-operate-menu {width:280px;line-height: 28px;}
#user-operate-menu li{list-style: none;}
ul {   padding-left: 0;}

{{if Configure::read('Page.extracss') }}
{{Configure::read('Page.extracss')}}
{{/if}}
</style>
<!--[if lte IE 8]>
{{$this->Html->css(array(	
	'bootstrap-ie6.css',
))}}
{{$this->Html->script(array('jquery/jquery-migrate-1.2.1.min.js'))}}
<![endif]-->

<script type="text/javascript">
var BASEURL = "{{APP_SUB_DIR}}";
var ADMIN_BASEURL = BASEURL+"/manage";
</script>
</head>
<body>

{{template menus/bootstrap}}

<div id="maincontent" class="clearfix"> 
	<?php
	    //$flash_msg =  $this->Session->flash();
	//if($flash_msg){
	//	echo "<div class=\"container\" style=\"margin-top: 20px;\">$flash_msg</div>";
	//}
	//注意#maincontent中，只包含一个'.container'，否则无法前台编辑模板可能会走样。多行的使用实现使用<div class="row"></div>。
	?>
  
    {{$content_for_layout}}
</div><!-- //end maincontent -->

{{template Elements/footer}}
